package com.example.demo.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

@RestController
@RequestMapping("/")
public class IndexController {
	@RequestMapping(value="/", method=RequestMethod.GET)
	public ModelAndView show(HttpServletRequest request) {
		ModelAndView mv = new ModelAndView("index");
		return mv;
	}
}
